package com.cloud.salon.common.base.entity.authority;

import com.cloud.salon.common.base.entity.BaseEntity;
import lombok.Data;

import javax.persistence.*;

/**
 * @Description 账号实体类
 * @Author wolf--LZH
 * @CreateDate 2019/4/15 0015 下午 9:57
 */
@Data
@Entity
@Table(name="user")
public class User extends BaseEntity {

    @Column(nullable = false, length = 50)
    private String username;
    @Column(nullable = false, length = 255)
    private String password;
}
